package com.hotel.service.impl;

import com.hotel.domain.CheckIn;
import com.hotel.mapper.CheckInMapper;
import com.hotel.service.checkInService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author shenlei
 * @describ
 * @create 2020-12-08 23:50
 */
@Service
public class checkInServiceImpl implements checkInService {
    @Autowired
    CheckInMapper checkInMapper;
    @Override
    public List<CheckIn> findAllCheckIn() {
        return checkInMapper.findAllCheckIn();
    }

    @Override
    public void savecheckInfo(CheckIn checkIn) {
        checkInMapper.savecheckInfo(checkIn);
    }
}
